Platform Explorer / Nuxeo Platform 2021.50

Component org.nuxeo.ecm.directory.actions

Resolution Order

359
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<component name="org.nuxeo.ecm.directory.actions">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="DirectoriesManager" link="/directory/view_directories.xhtml" label="title.vocabularies"
      type="admin_rest_document_link"
      order="50">
      <category>NUXEO_ADMIN</category>
      <filter-id>directoriesManagementAccess</filter-id>
      <filter-id>not_readonly</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <!--  This filter is designed to be evaluated via
          #{directoryUIActions.checkContextualDirectoryFilter('readOnlyDirectory')}
          the filter context contains the name of the current directory being displayed

          You can override this filter to implement a custom logic
     -->
    <filter id="readOnlyDirectory">
      <rule grant="true">
        <condition>#{directoryUIActions.isReadOnly(directoryName)}</condition>
      </rule>
    </filter>

  </extension>

</component>